package day08;

import java.util.Arrays;
import java.util.Scanner;

public class Test05 {
public static void main(String[] args) {
	/*题目：字符串排序。*/
	
	Scanner sc=new Scanner(System.in);
	System.out.println("请输入一个字符串");
	String str=sc.nextLine();
	
	char[] ch=str.toCharArray();
	Arrays.sort(ch);
	for (char c : ch) {
		System.out.print(c+" ");
	}
	
}
}
